package com.kunyi.web.im.websocket.core;

import com.kunyi.platform.launch.KunyiLaunchService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;

import java.util.Properties;

/**
 * @ClassName WebSocketLaunchServiceImpl
 * @Description TODO
 * @Author huangxiaoqin
 * @Date 2024/4/10 15:32
 * @Version 1.0
 */
@Slf4j
public class WebSocketLaunchServiceImpl implements KunyiLaunchService {
    @Override
    public void handler(SpringApplication springApplication) {
        log.info("自定义websocket启动项>>>>>>>>");
        Properties props = System.getProperties();
        //不以web服务的形式启动
//        props.setProperty("spring.main.web-application-type", "none");
    }
}
